<?php
if (!isset($_GET['id'])) {
	header('Location: ./');
	die();
}
$datas = DB::get_row("SELECT * FROM love_config WHERE Id = '$id'");
?>
<style>.panel-body,.panel-footer{background-color: #fff;box-shadow: 4px 4px 15px #eee;}.lli {font-family: 'Microsoft YaHei',微软雅黑,'MicrosoftJhengHei',华文细黑,STHeiti,MingLiu;font-size: 20px;color: #f00;border-bottom: 2px #f00 dashed;width: 165px;}</style>

<div class="layui-container">

<blockquote class="layui-elem-quote" style="border-left-color: #f00;background-color: #fff;">
	<?php echo htmlspecialchars($data['title']);?>
</blockquote>
<a href="./" class="btn" style="color:#888">
	<i class="layui-icon" style="color: #f00">&#xe65a;</i>  
</a>
<div class="row">

<div class="col-xs-12 col-sm-12">
	<div class="panel-body">
		<li class="lli"><?php htmlspecialchars($datas['name1'])?> <img src="assets/img/love.png" width="30px"> <?php htmlspecialchars($datas['name2'])?></li><br>
		<h4><?php htmlspecialchars($datas['info'])?></h4>
		<span style="float: right;color:#888"><?php htmlspecialchars($datas['time'])?></span>
	</div>
	 <div class="panel-footer" style="background-color: #fff;">
	 	<a class="btn" href="api.php?s=like&id=<?php htmlspecialchars($datas['Id'])?>">
	 		<i class="layui-icon" style="color: #f00" id="p"> &#xe6c6; <?php htmlspecialchars($datas['s'])?></i>  
		</a>
	 </div><br>
</div> <!-- END -->
</body>
</html>
</body>
</html>